<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
</head>
<body>

<c:forEach items="${jobs}" var="job" >

	<table border="0" class="jobRenderTable">
		<tr>
			<td>
			<table border="0">
				<tr>
					<td style="width: 100px;">Job Id :</td>
					<td style="width: 100px;">${job.jobId}</td>
					<td style="width: 100px;">Job Title :</td>
					<td>${job.jobTitle}</td>
				</tr>
			</table>
			</td>
		</tr>
		<tr>
			<td>
			<table>
				<tr>
					<td style="width: 100px;">Job Description</td>
					<td colspan="3"><pre>${job.jobDescription}</pre></td>
				</tr>
			</table>
			</td>

		</tr>
		<tr>
			<td>
			<table>
				<tr>
					<td style="width: 100px;">Key Skills</td>
					<td colspan="3"><c:if test="${job.keySkills eq ''}">
								&nbsp;
							</c:if> ${job.keySkills}</td>
				</tr>
			</table>
			</td>
		</tr>
		<tr>
			<td>
			<table>
				<tr>
					<td><c:if test="${job.createdUser}">
							Posted By : ${job.createdUser}   
						</c:if> <c:if test="${job.createdDate ne null}">
							Posted on <fmt:formatDate value="${job.createdDate}" />
					</c:if> &nbsp;</td>
					<td><c:if test="${job.updatedUser}">
							Updated By : ${job.updatedUser}   
						</c:if> <c:if test="${job.updatedDate ne null}">
							Updated on <fmt:formatDate value="${job.updatedDate}" />
					</c:if>&nbsp;</td>
				</tr>
			</table>
			</td>
		</tr>
	</table>
	
	<hr width="100%" style="height:10px;background-color: #000000; "/>
	
</c:forEach>

</body>
</html>